<!DOCTYPE html>
<html lang="zh-CN">
<!-- https://www.cnblogs.com/tangzeqi/p/8021637.html -->

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script src="./js/jquery.js"></script>
    <link href="./css/bootstrap.min.css" rel="stylesheet">
    <script src="./js/bootstrap.min.js"></script>

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
        integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous"> -->

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <!-- <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
        integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
        crossorigin="anonymous"></script> -->
    <script src="./js/bootstrap-treeview.min.js"></script>

    <style>
        .test {
            width: 30px;
            height: 30px;
        }

        .tree {
            width: 300px;
            height: 800px;
        }
    </style>
</head>

<body>
    <!-- <dir class="test">
        <span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star
    </dir> -->
    <div id="tree" class="tree"></div>

    <script>
        var data = [
            {
                "id": "2fc0aa12-7a25-4804-b1ac-ca953c7295ae",
                "orgName": "山东省妇幼保健院",
                "orgNamePY": "SDSFYBJY",
                "orgNameWB": "SPYKAB",
                "orgCode": "37000000",
                "orgShortName": "山东妇幼保健院",
                "orgType": "1",
                "orgTypeName": null,
                "orgLevel": "11",
                "orgLevelName": "三级甲等",
                "orgLegalPerson": null,
                "orgCity": "370000",
                "orgCityName": "山东省",
                "creater": "admin",
                "updater": "admin",
                "updateTime": 1643167677000,
                "orgAddress": "",
                "orgContact": "",
                "orgPhone": "18253135161",
                "orgPostCode": "",
                "openPerson": null,
                "openBank": null,
                "bankNo": null,
                "openWeb": null,
                "alipayNo": null,
                "busPhotPath": null,
                "hosPhotPath": null,
                "status": "0",
                "createTime": 1591410322000,
                "busPhotPaths": null,
                "hosPhotPaths": null,
                "departDetailList": null,
                "assessorPhone": "18253135161",
                "docterType": "2",
                "positionLongitude": null,
                "positionLatitude": null,
                "q": null,
                "nodes": [
                    {
                        "id": "f56a3d00-f003-41ea-8a26-c914d37dd663",
                        "orgName": "济南市妇幼保健院",
                        "orgNamePY": "JNSFYBJY",
                        "orgNameWB": "IFYVXWWB",
                        "orgCode": "37010000",
                        "orgShortName": "济南市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370100",
                        "orgCityName": "济南市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "18053152116",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643168449000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "18053152116",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "nodes": [
                            {
                                "id": "9e96e1a2-8cbd-4fdf-b8ee-d24951a3cd9d",
                                "orgName": "山东大学齐鲁医院",
                                "orgNamePY": "SDDXQLYY",
                                "orgNameWB": "MADIYQAB",
                                "orgCode": "37010001",
                                "orgShortName": "齐鲁医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370100",
                                "orgCityName": "济南市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "18560081803",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182275000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "18560081803",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "山东大学齐鲁医院",
                                "nodeId": "37010001"
                            },
                            {
                                "id": "e3563b76-2afd-4a20-9182-0d0bd4a50d0a",
                                "orgName": "山东大学第二医院",
                                "orgNamePY": "SDDXDEYY",
                                "orgNameWB": "MADITFAB",
                                "orgCode": "37010002",
                                "orgShortName": "山东大学第二医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370100",
                                "orgCityName": "济南市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "17660086390",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182457000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "17660086390",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "山东大学第二医院",
                                "nodeId": "37010002"
                            },
                            {
                                "id": "19dd891f-87e4-4310-aa0b-769a5f958947",
                                "orgName": "山东第一医科大学附属省立医院（山东省立医院）",
                                "orgNamePY": "SDDYYKDXFSSLYY（SDSLYY）",
                                "orgNameWB": "MATGATDIBNIUAB（MAIUAB）",
                                "orgCode": "37010003",
                                "orgShortName": "山东省立医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370100",
                                "orgCityName": "济南市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "15168886369",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182502000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "15168886369",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "山东第一医科大学附属省立医院（山东省立医院）",
                                "nodeId": "37010003"
                            },
                            {
                                "id": "6900b641-07de-4e45-aa21-ec97c6812fc5",
                                "orgName": "山东第一医科大学第一附属医院（山东省千佛山医院）",
                                "orgNamePY": "SDDYYKDXDYFSYY（SDSQFSYY）",
                                "orgNameWB": "MATGATDITGBNAB（MAITWMAB）",
                                "orgCode": "37010004",
                                "orgShortName": "山东省千佛山医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370100",
                                "orgCityName": "济南市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "18766181333",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182534000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "18766181333",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "山东第一医科大学第一附属医院（山东省千佛山医院）",
                                "nodeId": "37010004"
                            },
                            {
                                "id": "3c74901f-ea03-40b0-b047-1f758ca632da",
                                "orgName": "济南市儿童医院",
                                "orgNamePY": "JNSETYY",
                                "orgNameWB": "IFYQUAB",
                                "orgCode": "37010005",
                                "orgShortName": "济南儿童医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370100",
                                "orgCityName": "济南市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "15615515280",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182589000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "15615515280",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "济南市儿童医院",
                                "nodeId": "37010005"
                            }
                        ],
                        "text": "济南市妇幼保健院",
                        "nodeId": "37010000"
                    },
                    {
                        "id": "3d310f00-f9d9-472a-a5b4-856a10c63250",
                        "orgName": "青岛市妇女儿童医院",
                        "orgNamePY": "QDSFNETYY",
                        "orgNameWB": "GQYVVQUAB",
                        "orgCode": "37020000",
                        "orgShortName": "青岛妇女儿童医院",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370200",
                        "orgCityName": "青岛市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "18553262135",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643168919000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "18553262135",
                        "docterType": "0,1",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "nodes": [
                            {
                                "id": "3aa0330b-8ae1-4a87-88ec-65b2b60a0e26",
                                "orgName": "青岛大学附属医院",
                                "orgNamePY": "QDDXFSYY",
                                "orgNameWB": "GQDIBNAB",
                                "orgCode": "37020001",
                                "orgShortName": "青岛大学附属医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370200",
                                "orgCityName": "青岛市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "18661808910",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182631000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "18661808910",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "青岛大学附属医院",
                                "nodeId": "37020001"
                            }
                        ],
                        "text": "青岛市妇女儿童医院",
                        "nodeId": "37020000"
                    },
                    {
                        "id": "6c316813-c56c-418f-bf06-d108566ad9e3",
                        "orgName": "淄博市妇幼保健院",
                        "orgNamePY": "ZBSFYBJY",
                        "orgNameWB": "IFYVXWWB",
                        "orgCode": "37030000",
                        "orgShortName": "淄博市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370300",
                        "orgCityName": "淄博市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "15953316630",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643168981000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "15953316630",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "淄博市妇幼保健院",
                        "nodeId": "37030000"
                    },
                    {
                        "id": "7df0c73d-b3b4-489c-a913-65cd29e5fb94",
                        "orgName": "枣庄市妇幼保健院",
                        "orgNamePY": "ZZSFYBJY",
                        "orgNameWB": "GYYVXWWB",
                        "orgCode": "37040000",
                        "orgShortName": "枣庄市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370400",
                        "orgCityName": "枣庄市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "18563230817",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643169016000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "18563230817",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "枣庄市妇幼保健院",
                        "nodeId": "37040000"
                    },
                    {
                        "id": "6386ffcd-f6f3-4a4e-b2cc-f242c2bd1f10",
                        "orgName": "东营市妇幼保健院",
                        "orgNamePY": "DYSFYBJY",
                        "orgNameWB": "AAYVXWWB",
                        "orgCode": "37050000",
                        "orgShortName": "东营市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370500",
                        "orgCityName": "东营市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "18661371267",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643169057000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "18661371267",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "东营市妇幼保健院",
                        "nodeId": "37050000"
                    },
                    {
                        "id": "3f9f21f9-49e6-4798-a0bf-45ab4356d56b",
                        "orgName": "烟台市烟台山医院/市妇幼保健院",
                        "orgNamePY": "YTSYTSYY/SFYBJY",
                        "orgNameWB": "OCYOCMAB/YVXWWB",
                        "orgCode": "37060000",
                        "orgShortName": "烟台市烟台山医院/市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370600",
                        "orgCityName": "烟台市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "18660081991",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643170594000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "18660081991",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "nodes": [
                            {
                                "id": "9533db71-b7ba-49cf-8697-6ddae685a8ae",
                                "orgName": "烟台毓璜顶医院",
                                "orgNamePY": "YTYHDYY",
                                "orgNameWB": "OCTGSAB",
                                "orgCode": "37060001",
                                "orgShortName": "烟台毓璜顶医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370600",
                                "orgCityName": "烟台市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "13305350418",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182661000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "13305350418",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "烟台毓璜顶医院",
                                "nodeId": "37060001"
                            }
                        ],
                        "text": "烟台市烟台山医院/市妇幼保健院",
                        "nodeId": "37060000"
                    },
                    {
                        "id": "9e8d1d73-e39c-4cd5-8541-e235e4de30e8",
                        "orgName": "潍坊市妇幼保健院",
                        "orgNamePY": "WFSFYBJY",
                        "orgNameWB": "IFYVXWWB",
                        "orgCode": "37070000",
                        "orgShortName": "潍坊市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370700",
                        "orgCityName": "潍坊市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "13676368791",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643170694000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "13676368791",
                        "docterType": "0,1",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "潍坊市妇幼保健院",
                        "nodeId": "37070000"
                    },
                    {
                        "id": "328d26a9-3871-45b5-b491-ad02cb23f882",
                        "orgName": "济宁市妇幼保健计划生育服务中心",
                        "orgNamePY": "JNSFYBJJHSYFWZX",
                        "orgNameWB": "IPYVXWWYATYETKN",
                        "orgCode": "37080000",
                        "orgShortName": "济宁市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370800",
                        "orgCityName": "济宁市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "17861125369",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643170879000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "17861125369",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "nodes": [
                            {
                                "id": "67d3632e-ff0b-46af-876b-18e7f2ac49f0",
                                "orgName": "济宁医学院附属医院",
                                "orgNamePY": "JNYXYFSYY",
                                "orgNameWB": "IPAIBBNAB",
                                "orgCode": "37080001",
                                "orgShortName": "济宁医学院附属医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370800",
                                "orgCityName": "济宁市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "18353296006",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182697000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "18353296006",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "济宁医学院附属医院",
                                "nodeId": "37080001"
                            },
                            {
                                "id": "72465b29-64e2-44f2-a293-c990f493eeb5",
                                "orgName": "济宁市第一人民医院",
                                "orgNamePY": "JNSDYRMYY",
                                "orgNameWB": "IPYTGWNAB",
                                "orgCode": "37080002",
                                "orgShortName": "济宁市第一人民医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "370800",
                                "orgCityName": "济宁市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "15898603616",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182722000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "15898603616",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "济宁市第一人民医院",
                                "nodeId": "37080002"
                            }
                        ],
                        "text": "济宁市妇幼保健计划生育服务中心",
                        "nodeId": "37080000"
                    },
                    {
                        "id": "dcd8c813-e92e-4bb4-9fc1-3cd81126d72f",
                        "orgName": "泰安市妇幼保健院",
                        "orgNamePY": "TASFYBJY",
                        "orgNameWB": "DPYVXWWB",
                        "orgCode": "37090000",
                        "orgShortName": "泰安市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "370900",
                        "orgCityName": "泰安市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "15662069863",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643170916000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "15662069863",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "泰安市妇幼保健院",
                        "nodeId": "37090000"
                    },
                    {
                        "id": "38388142-b369-475e-a2bd-4a9c04e89509",
                        "orgName": "威海市妇幼保健院",
                        "orgNamePY": "WHSFYBJY",
                        "orgNameWB": "DIYVXWWB",
                        "orgCode": "37100000",
                        "orgShortName": "威海市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "371000",
                        "orgCityName": "威海市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "15666305993",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643170947000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "15666305993",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "威海市妇幼保健院",
                        "nodeId": "37100000"
                    },
                    {
                        "id": "66040f8f-a410-4667-b273-3b59ad8896c2",
                        "orgName": "日照市妇幼保健院",
                        "orgNamePY": "RZSFYBJY",
                        "orgNameWB": "JJYVXWWB",
                        "orgCode": "37110000",
                        "orgShortName": "日照市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "371100",
                        "orgCityName": "日照市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "13666336503",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643170990000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "13666336503",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "日照市妇幼保健院",
                        "nodeId": "37110000"
                    },
                    {
                        "id": "0a5be098-b197-4fbb-8afa-7b43f813fed8",
                        "orgName": "临沂市妇幼保健院",
                        "orgNamePY": "LYSFYBJY",
                        "orgNameWB": "JIYVXWWB",
                        "orgCode": "37130000",
                        "orgShortName": "临沂市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "371300",
                        "orgCityName": "临沂市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "18769953879",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643171031000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "18769953879",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "nodes": [
                            {
                                "id": "43ad568a-cdf4-4fc9-901b-9920266d2d7d",
                                "orgName": "临沂市人民医院",
                                "orgNamePY": "LYSRMYY",
                                "orgNameWB": "JIYWNAB",
                                "orgCode": "37130001",
                                "orgShortName": "临沂市人民医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "371300",
                                "orgCityName": "临沂市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "15192921218",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182751000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "15192921218",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "临沂市人民医院",
                                "nodeId": "37130001"
                            }
                        ],
                        "text": "临沂市妇幼保健院",
                        "nodeId": "37130000"
                    },
                    {
                        "id": "ccd1b67b-ef36-4129-898f-f2a0393e6dd6",
                        "orgName": "德州市妇幼保健院",
                        "orgNamePY": "DZSFYBJY",
                        "orgNameWB": "TYYVXWWB",
                        "orgCode": "37140000",
                        "orgShortName": "德州市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "371400",
                        "orgCityName": "德州市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "17615931953",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643171081000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "17615931953",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "德州市妇幼保健院",
                        "nodeId": "37140000"
                    },
                    {
                        "id": "321efc41-fc04-4519-9133-f66be37936f1",
                        "orgName": "聊城市妇幼保健院",
                        "orgNamePY": "LCSFYBJY",
                        "orgNameWB": "BFYVXWWB",
                        "orgCode": "37150000",
                        "orgShortName": "聊城市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "371500",
                        "orgCityName": "聊城市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "19906357879",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643171115000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "19906357879",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "nodes": [
                            {
                                "id": "fe97ae3c-e213-4d7c-99cf-03cc3eda55c5",
                                "orgName": "聊城市人民医院",
                                "orgNamePY": "LCSRMYY",
                                "orgNameWB": "BFYWNAB",
                                "orgCode": "37150001",
                                "orgShortName": "聊城市人民医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "371500",
                                "orgCityName": "聊城市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "15315780719",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182779000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "15315780719",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "聊城市人民医院",
                                "nodeId": "37150001"
                            }
                        ],
                        "text": "聊城市妇幼保健院",
                        "nodeId": "37150000"
                    },
                    {
                        "id": "03a4b1e6-23dc-4cd0-88e3-8a183af62a66",
                        "orgName": "滨州市妇幼保健院",
                        "orgNamePY": "BZSFYBJY",
                        "orgNameWB": "IYYVXWWB",
                        "orgCode": "37160000",
                        "orgShortName": "滨州市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "371600",
                        "orgCityName": "滨州市",
                        "creater": "18253135161",
                        "updater": null,
                        "updateTime": null,
                        "orgAddress": null,
                        "orgContact": null,
                        "orgPhone": "18054513950",
                        "orgPostCode": null,
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643171157000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "18054513950",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "nodes": [
                            {
                                "id": "ad6d91d6-9b2c-4db8-be0d-2b4f441d9873",
                                "orgName": "滨州医学院附属医院",
                                "orgNamePY": "BZYXYFSYY",
                                "orgNameWB": "IYAIBBNAB",
                                "orgCode": "37160001",
                                "orgShortName": "滨州医学院附属医院",
                                "orgType": "1",
                                "orgTypeName": null,
                                "orgLevel": "11",
                                "orgLevelName": "三级甲等",
                                "orgLegalPerson": null,
                                "orgCity": "371600",
                                "orgCityName": "滨州市",
                                "creater": "18253135161",
                                "updater": null,
                                "updateTime": null,
                                "orgAddress": null,
                                "orgContact": null,
                                "orgPhone": "18678324170",
                                "orgPostCode": null,
                                "openPerson": null,
                                "openBank": null,
                                "bankNo": null,
                                "openWeb": null,
                                "alipayNo": null,
                                "busPhotPath": null,
                                "hosPhotPath": null,
                                "status": "0",
                                "createTime": 1643182806000,
                                "busPhotPaths": null,
                                "hosPhotPaths": null,
                                "departDetailList": null,
                                "assessorPhone": "18678324170",
                                "docterType": "1",
                                "positionLongitude": null,
                                "positionLatitude": null,
                                "q": null,
                                "text": "滨州医学院附属医院",
                                "nodeId": "37160001"
                            }
                        ],
                        "text": "滨州市妇幼保健院",
                        "nodeId": "37160000"
                    },
                    {
                        "id": "6f4523e2-67ee-45ff-b089-edae308e0671",
                        "orgName": "菏泽市妇幼保健计划生育服务中心",
                        "orgNamePY": "HZSFYBJJHSYFWZX",
                        "orgNameWB": "AIYVXWWYATYETKN",
                        "orgCode": "37170000",
                        "orgShortName": "菏泽市妇幼",
                        "orgType": "1",
                        "orgTypeName": null,
                        "orgLevel": "11",
                        "orgLevelName": "三级甲等",
                        "orgLegalPerson": null,
                        "orgCity": "371700",
                        "orgCityName": "菏泽市",
                        "creater": "18253135161",
                        "updater": "admin",
                        "updateTime": 1644550340000,
                        "orgAddress": "",
                        "orgContact": "",
                        "orgPhone": "13295406820",
                        "orgPostCode": "",
                        "openPerson": null,
                        "openBank": null,
                        "bankNo": null,
                        "openWeb": null,
                        "alipayNo": null,
                        "busPhotPath": null,
                        "hosPhotPath": null,
                        "status": "0",
                        "createTime": 1643171190000,
                        "busPhotPaths": null,
                        "hosPhotPaths": null,
                        "departDetailList": null,
                        "assessorPhone": "13295406820",
                        "docterType": "0",
                        "positionLongitude": null,
                        "positionLatitude": null,
                        "q": null,
                        "text": "菏泽市妇幼保健计划生育服务中心",
                        "nodeId": "37170000"
                    }
                ],
                "text": "山东省妇幼保健院",
                "nodeId": "37000000"
            }
        ];
        var data3 = [
            {
                text: "Parent 1",
                nodes: [
                    {
                        text: "Child 1",
                        state: {
                            expanded: true,// 是否处于展开状态
                            selected: true// 是否可以被选择
                        },
                        nodes: [
                            {
                                text: "Grandchild 1",
                                icon: "glyphicon glyphicon-stop",
                                selectedIcon: "glyphicon glyphicon-star"
                            },
                            {
                                text: "Grandchild 2",
                                icon: "glyphicon glyphicon-stop",
                                selectedIcon: "glyphicon glyphicon-star"
                            }
                        ]
                    },
                    {
                        text: "Child 2",
                        icon: "glyphicon glyphicon-stop",
                        selectedIcon: "glyphicon glyphicon-star"
                    }
                ]
            },
            {
                text: "Parent 2",
                icon: "glyphicon glyphicon-stop",
                selectedIcon: "glyphicon glyphicon-star"
            },
            {
                text: "Parent 3",
                icon: "glyphicon glyphicon-stop",
                selectedIcon: "glyphicon glyphicon-star"
            },
            {
                text: "Parent 4",
                icon: "glyphicon glyphicon-stop",
                selectedIcon: "glyphicon glyphicon-star"
            },
            {
                text: "Parent 5",
                icon: "glyphicon glyphicon-stop",
                selectedIcon: "glyphicon glyphicon-star",
                state: {
                    checked: true,// 是否选中状态
                    expanded: true,
                    selected: true
                }
            }
        ];



        function getTree() {
            return data3;
        }

        $('#tree').treeview({
            data: data3, multiSelect: true
        })

        var result = $('#tree').treeview('getSelected');
        console.log("res->", res ult);
    </script>
</body>

</html>